package com.bingxue.edu.management.education.model.query;


import com.bingxue.edu.common.enums.CommonStatusEnum;
import com.bingxue.edu.management.education.model.entity.Parent;
import com.bingxue.edu.framework.mybatis.query.Query;
import com.bingxue.edu.framework.mybatis.query.QueryType;
import com.mybatisflex.annotation.TableRef;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 家长查询条件
 *
 * @author zq
 * @since 2024/08/19 00:02
 */
@Data
@Schema(description = "家长查询条件")
@TableRef(Parent.class)
public class ParentQuery {

    @Schema(description = "关键字")
    @Query(type = QueryType.LIKE, field = "name")
    @Query(type = QueryType.LIKE, field = "mobilePhone")
    private String keyword;

    @Schema(description = "账号状态")
    private CommonStatusEnum status;

}
